﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace YW.Web.HYXT.YW_yebgjl
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					Guid yw_id=new Guid(strid);
					ShowInfo(yw_id);
				}
			}
		}
		
	private void ShowInfo(Guid yw_id)
	{
		YW.BLL.HYXT.YW_yebgjl bll=new YW.BLL.HYXT.YW_yebgjl();
		YW.Model.HYXT.YW_yebgjl model=bll.GetModel(yw_id);
		this.lblyw_id.Text=model.yw_id.ToString();
		this.lblEMPI.Text=model.EMPI;
		this.lblbgsj.Text=model.bgsj.ToString();
		this.lblbgje.Text=model.bgje.ToString();
		this.lblbglx.Text=model.bglx;
		this.lblywlx.Text=model.ywlx;
		this.lblxgdjh.Text=model.xgdjh;
		this.lblyypzbzj.Text=model.yypzbzj;
		this.lblkh.Text=model.kh;

	}


    }
}
